#include <stdio.h>
//创建max函数判断数字大小
int maxmin(int x,int y,int z){
	int max;
	max = x;
	if(max < y) max = y;
	if(max < z) max = z;
	return max;
}

main(){
	int x,y,z = 0;
	printf("请您输入三个数字：\n");
	scanf("%d%d%d",&x,&y,&z);
	printf("最大数为%d\n",maxmin(x,y,z));
}
